package java.com.bajiao.app;

import cn.hutool.json.JSONUtil;
import com.bajiao.service.store.StoreService;
import com.bajiao.vo.store.StoreOrderResponse;
import org.junit.Test;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;
import java.util.List;


@SpringBootTest
public class Itest {

    @Resource
    private StoreService storeService;

    @Test
    public void test3(){
//        userService.getInviteRecord(DateUtil.beginOfDay(new Date()).toString());
    }

    @Test
    public void test4(){
        String storeId = "1896412091046748162";
        List<StoreOrderResponse> list = storeService.getStoreOrderPage(storeId);

        System.out.println(JSONUtil.parse(list));
    }

}
